<html>
<head><meta charset="utf-8"><title>Vendor info in rustc --version · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html">Vendor info in rustc --version</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="215126070"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126070" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126070">(Oct 30 2020 at 17:28)</a>:</h4>
<p>right now, in the official builds  <code>rustc -V</code> says something like <code>rustc 1.47.0 (18bf6b4f0 2020-10-07)</code>, but distro builds just say <code>rustc 1.47.0</code></p>



<a name="215126093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126093">(Oct 30 2020 at 17:28)</a>:</h4>
<p>how would folks feel about allowing vendor info in there?</p>



<a name="215126155"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126155" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126155">(Oct 30 2020 at 17:29)</a>:</h4>
<p>e.g., for GCC we have:</p>
<div class="codehilite"><pre><span></span><code>$ gcc --version
gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
</code></pre></div>



<a name="215126211"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126211" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126211">(Oct 30 2020 at 17:30)</a>:</h4>
<p>IMO seems fine -- in some sense, that <em>is</em> a version right?</p>



<a name="215126284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126284">(Oct 30 2020 at 17:30)</a>:</h4>
<p>which matches the rpm version:</p>
<div class="codehilite"><pre><span></span><code>$ rpm -q gcc
gcc-10.2.1-5.fc33.x86_64
</code></pre></div>



<a name="215126291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126291">(Oct 30 2020 at 17:30)</a>:</h4>
<p>at least I know I frequently see things bumped in distros when I update without an upstream bump</p>



<a name="215126441"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126441" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126441">(Oct 30 2020 at 17:31)</a>:</h4>
<p>I think my only hesitation is whether anything parsing the version would break on non-git info there</p>



<a name="215126468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126468">(Oct 30 2020 at 17:31)</a>:</h4>
<p>ISTR some breakages when <code>rustc --version --verbose</code> tried to change before</p>



<a name="215126487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126487">(Oct 30 2020 at 17:31)</a>:</h4>
<p>IMO people should not be doing that</p>



<a name="215126536"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126536" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126536">(Oct 30 2020 at 17:32)</a>:</h4>
<p>or at least not the <code>(...)</code> bit</p>



<a name="215126846"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Vendor%20info%20in%20rustc%20--version/near/215126846" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Vendor.20info.20in.20rustc.20--version.html#215126846">(Oct 30 2020 at 17:34)</a>:</h4>
<p>ok, I'll try to add a config option for this</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>